#include "imageviewer.h"

ImageViewer::ImageViewer(QObject *parent): QObject(parent)
{
    m_pImageProvider=new ImageProvider();
}

void ImageViewer::showImage(const QImage& imgQ)
{
    m_pImageProvider->m_imgQ=imgQ;
    emit callQmlRefreshImg();
}
